export type controllerModel = {
  createdBy: string //创建人
  createdTime: string //创建时间
  delFlag: number //是否删除 0否 1是
  dept: string //单位
  donateNum: string //捐赠数量
  id: number //主键ID
  idNo: string //证件号
  idType: string //证件类型,关联字典A37
  idTypeName: string //证件类型名称
  openId: string //小程序唯一标识
  phone: string //手机号
  updatedBy: string //更新人
  updatedTime: string //更新时间
  userName: string //姓名
  totalCount: number //总行数
}

const api: ApiConfig = {
  list: {
    url: '/collection/controller/list',
    method: 'GET'
  },
  delete: {
    url: '/collection/controller/delete',
    method: 'POST'
  },
  info: {
    method: 'GET',
    url: '/collection/controller/info/:id'
  },
  update: {
    url: '/collection/controller/update',
    method: 'POST'
  },
  listOptions: {
    url: '/collection/controller/listOptions',
    method: 'GET'
  },
  //字典表
  listByParentCode: {
    method: 'GET',
    url: '/sys/dic/listByParentCode'
  }
}

export default api
